cmake_minimum_required(VERSION 3.22)

file(GLOB_RECURSE NETLIB_BASE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)

add_library(base ${NETLIB_BASE_SOURCES})

target_link_libraries(base pthread readline)